package part17_策略模式_鸭子问题.策略加工厂解决ifelse.strategy;

import part17_策略模式_鸭子问题.策略加工厂解决ifelse.pojo.LeaveForm;

public interface AuditStrategy {
    // 判断条件是否匹配
    public boolean isSupport(LeaveForm form);
    // 审核业务逻辑
    public void  audit(LeaveForm leaveForm);
    // 规则冲突时的优先级
    public int getPriority();
    // 规则名称
    public String getName();
}
